Next | Prev | Up | Top | Contents | Index
MP Application Testing
To test 64-bit MP applications on the R8000, follow these guidelines:
- First, get the application to run with no parallelization at the highest optimization level.
- When testing the parallel version, first run it with only one thread (either on a single CPU machine or by setting the environment variable MP_SET_NUMTHREADS to 1).
- Go down to the -g optimization level for the first MP test, and run that version with one thread, then with multiple threads. Then go up the optimization scale, testing both single and multi-threaded.
You can, of course, skip as many steps as you like. In case of failure, however, this method of incremental iterations can most likely help you identify the problem.
Next | Prev | Up | Top | Contents | Index